package cn.wolfocde.luowowo.repository;

import cn.wolfcode.luowowo.search.template.StrategyTemplate;
import cn.wolfcode.luowowo.search.template.UserInfoTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 封装的工具类,作用等于mapper
 */
@Repository
public interface UserInfoTemplateRepository extends ElasticsearchRepository<UserInfoTemplate, Long> {
    List<UserInfoTemplate> findByDestName(String name);

}

